package com.example.kliven.because.adapter;import android.content.Context;import android.view.View;import android.view.ViewGroup;import android.widget.BaseAdapter;import com.example.kliven.because.intentbean.NetNearbyBean;import java.util.List;/** * Created by Kliven on 16/1/18. */public class DetailAdapter extends BaseAdapter {    private Context context;    private List<NetNearbyBean> netNearbyBeans;    public DetailAdapter(Context context, List<NetNearbyBean> netNearbyBeans) {        this.context = context;        this.netNearbyBeans = netNearbyBeans;    }    @Override    public int getCount() {        return netNearbyBeans.size();    }    @Override    public Object getItem(int position) {        return netNearbyBeans;    }    @Override    public long getItemId(int position) {        return 0;    }    @Override    public View getView(int position, View convertView, ViewGroup parent) {        return null;    }}